package com.example.demo.pojo.User;

import com.example.demo.annotation.PrivacyEncrypt;
import com.example.demo.enums.PrivacyTypeEnum;
import lombok.Data;

@Data
public class UserInfoDTO {
    private int id;
    private String nickName;
//    @PrivacyEncrypt(type = PrivacyTypeEnum.NAME) // 隐藏邮箱
    private String realName;
//    @PrivacyEncrypt(type = PrivacyTypeEnum.EMAIL) // 隐藏邮箱
    private String email;
//    @PrivacyEncrypt(type = PrivacyTypeEnum.PHONE) // 隐藏手机号
    private String phoneNumber;
//    @PrivacyEncrypt(type = PrivacyTypeEnum.ID_CARD) // 隐藏邮箱
    private String idCardNumber;
    private String schoolAddress;
    private String educationalBackground;
    private String major;
    private String homeAddress;
    private String contactAddress;
    private String role;
    private String headerUrl;
    private Integer realNameStatus;
}
